<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><{$site_title}>管理中心</title>
<{include file="js.html"}> <{include file="kindeditor.html"}>
<script type="text/javascript">
	$(function() {
		$("#myForm").submit(function() {
			return queding('是否保存？', ".subCheck");
		})
		$("#city").citySelect({
			prov : "",
			city : "",
			dist : "",
			required : false
		});
	})
</script>
</head>

<body>
	<div class="box">
		<div style="background: url(images/mainbj.jpg) repeat-x; line-height: 31px; height: 31px;">
			<table border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td width="41" align="center"><img src="images/biao1.jpg" /></td>
					<td><strong>当前位置</strong>：管理 &gt; 添加</td>
				</tr>
			</table>
		</div>

		<table class="lefttab" cellpadding="0" cellspacing="0">
			<tbody>
				<tr>
					<td height="50px" class="xiugai">
						<a style="float: left; margin-left: 5px;" href="album_add.php?id=184"><div class="inp2">相册</div></a>
						<a style="float: left; margin-left: 5px;" href="album_img.php?id=184"><div class="inp2">图片</div></a>
					</td>
				</tr>
			</tbody>
		</table>

		<form action="" method="post" id="myForm" enctype='multipart/form-data'>
			<table class="lefttab" cellpadding="0" cellspacing="0">
				<tr>
					<td colspan="2">
						<div style="height: 26px; text-align: left; line-height: 26px; background: url(images/xbj1.jpg) repeat-x; border: 1px solid #e9f5fa; font-weight: bold;">&nbsp;&nbsp;添加</div>
					</td>
				</tr>
				<tr>
					<td align="right"><font color="#e47c02">*</font><strong>input</strong>：</td>
					<td width="873" align="left">&nbsp;<input type="text" class="subCheck" name="title" value="<{$row.title}>" /></td>
				</tr>
				<tr>
					<td align="right"><font color="#e47c02">*</font><strong>select</strong>：</td>
					<td width="873" align="left">&nbsp;<select class="subCheck" name="select">
						<option value=""></option>
						</select>
					</td>
				</tr>
				<tr>
					<td align="right"><font color="#e47c02">*</font><strong>省市区</strong>：</td>
					<td width="873" align="left" id="city">&nbsp;<select class="subCheck prov" name="province"></select>
						<select class="subCheck city" name="city"></select>
						<select class="subCheck dist" name="county"></select>
					</td>
				</tr>
				<tr>
					<td align="right"><font color="#e47c02">*</font><strong>editor</strong>：</td>
					<td width="873" align="left">
						<textarea class="editor" name="content" style="width: 700px; height: 200px; visibility: hidden;"><{$row.content}></textarea>
					</td>
				</tr>
				<tr>
					<td align="right"><font color="#e47c02">*</font><strong>upload</strong>：</td>
					<td width="873" align="left">&nbsp;<input type="file"<{if $row.img==''}>class="subCheck"<{/if}> name="img" id="img"/></td>
				</tr>
				<{if $row.img!=""}>
				<tr>
					<td align="right"><font color="#e47c02">*</font><strong>预览</strong>：</td>
					<td width="873" align="left">&nbsp;<a target="_blank" href="../upload/test/large/<{$row.img}>"><img src="../upload/test/small/<{$row.img}>" width="100" /></a></td>
				</tr>
				<{/if}>
				<tr>
					<td align="right"><font color="#e47c02">*</font><strong>上传文件</strong>：</td>
					<td width="873" align="left">&nbsp;<input type="file" name="file" /></td>
				</tr>
				<tr>
					<td height="50px" colspan="2">
						<p>&nbsp;</p>
						<p align="left" style="margin-left: 100px;">&nbsp;&nbsp;<input type="submit" name="submit" value="发布" class="inp" /></p>
						<p>&nbsp;</p>
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>